Method For Simplifying A Viterbi Decoder And A Simplified Viterbi Decoder Using The Same

ABSTRACT

A method for simplifying a Viterbi decoder includes receiving a partial response, and determining an amount of redundant selector modules according to a tap number of the partial response; analyzing an output signal of the redundant selector modules for determining an initial input signal; and taking Viterbi decoding process to a sequence of data in the Viterbi decoder according to a forward trace status and the initial input signal.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention provides a Viterbi decoder, and more particularly, a Viterbi decoder with less selector modules in response to taps of a partial response for preventing from signal delays and increasing efficiency when decoding.

2. Description of the Prior Art

Partial response maximum likelihood, or PRML, has been utilized in a plurality of digital signal processes, which modulates original signals with a partial response, so as to output modulated signals through a channel to a receiver of maximum likelihood sequence estimation, or MLSE, and a Viterbi detector is one of those circuits detecting convolution codes based on MLSE.

As those skilled in the art recognized, a communication channel always includes additive white Gaussian noise, (or AWGN), or other interferences, so that a communication system encodes data before transmitting for decreasing detection errors. For example, applied a specific algorithm, data is convoluted to more bits before being transmitted. Therefore, based on the algorithm, the communication system can detect whether the received data is correct or not, and even return wrong bits in the data to right.

Please refer to FIG. 1, which illustrates a block diagram of a prior art Viterbi decoder 10. The Viterbi decoder 10 includes a branch metric unit 12, an add-compare-select unit 14, a path memory module 18, a path metric memory module 16 and an output selector 20. The branch metric unit 12 receives a sequence of signals DTi, and transmits the signals DTi to the add-compare-select unit 14 through a plurality of branch paths according to a default setting of the Viterbi decoder 10. The add-compare-select unit 14 determines path metrics of the signals DTi by means of Viterbi algorithm based on MLSE, and outputs the path metrics to the path metric memory module 16. Meanwhile, the add-compare-select unit 14 calculates a plurality of state values and outputs to the path memory module 18. The path memory module 18 includes a plurality of selector modules in a series connection. The output selector 20 determines a sequence of output signals DTo according to signals outputted from the path memory module 18. As to operations of the Viterbi decoder 10, take tap number of the partial response being 3, or PR(1,2,1), for example. In this case, the Viterbi decoder 10 includes four states, and the branch metric unit 12 transmits the signals DTi to the add-compare-select unit 14 through six branches. Please refer to FIG. 2 and FIG. 3. FIG. 2 illustrates a state diagram of Viterbi algorithm with four states S00, S01, S10, and S11, while FIG. 3 illustrates a schematic diagram of the path memory module 21 corresponding to the state diagram in FIG. 2.

As shown in FIG. 2, input values (or original data) 0 and 1 in each state generate corresponding output values (or coded signals), which can be 4, 2, −2, and −4. After the coded signals is sent to a communication channel, the coded signals may suffer interference, yet the add-compare-select unit 14 can determine a result closest to the original data according to Viterbi algorithm. In FIG. 3, the path memory module 21 includes eleven selector modules 22 for decoding input signals having ten bits. Each selector module 22 includes four registers 24 and two selectors 26. The selectors 26 determine the output signals according to select signals S0 & S1 provided by the add-compare-select unit 14. Formulas for the add-compare-select unit 14 to calculate path metric values for determining the select signals S0 & S1 are as follow: P(t,S 00)=min{(P(t−1,S 00)+B(t,−4)),(P(t−1,S 10)+B(t,−2))} P(t,S 01)=P(t−1,S 00)+B(t,−2) P(t,S 10)=P(t−1,S 11)+B(t,−2) P(t,S 11)=min{(P(t−1,S 01)+B(t,2)),(P(t−1,S 11)+B(t,4))} $\begin{matrix} {{S0} = {{0\quad{for}\quad\left( {{P\left( {{t - 1},{S00}} \right)} + {B\left( {t,{- 4}} \right)}} \right)} < \left( {{P\left( {{t - 1},{S10}} \right)} + {B\left( {t,{- 2}} \right)}} \right)}} \\ {= {1\quad{for}\quad{otherwise}}} \\ {{S1} = {{0\quad{for}\quad\left( {{P\left( {{t - 1},{S01}} \right)} + {B\left( {t,2} \right)}} \right)} < \left( {{P\left( {{t - 1},{S11}} \right)} + {B\left( {t,4} \right)}} \right)}} \\ {= {1\quad{for}\quad{otherwise}}} \end{matrix}$

-   -   where P(t) is a path metric value, and B(t) is path value.

The above states of a Trellis tree and related operations are well-known in the art, so this paragraph will not disclose further. As long as the path metric values and the select signals S0 & S1 are determined continuously, the output signals DTo can be obtained.

For example, continuing with FIG. 2 and FIG. 3, please refer to FIG. 4, which illustrates a table of signals DTi and DTo of the Viterbi decoder 10 having four states. In FIG. 4, original signals Sii are encoded to the signals DTi with the partial response. After receiving the signals DTi, the Viterbi decoder 10 having four states decodes the signals DTi to the signals DTo according to the above-mentioned Viterbi algorithm. As shown in FIG. 4, the sequence of the signals DTo delays two bits comparing to the original signals Sii (that is, the sequence of the signals DTo lacks the first and second bits of the signals Sii). Therefore, the prior art Viterbi decoder 10 cannot decode the first two bits of the original signals Sii. In addition, the question marks of the signals DTo in FIG. 3 means that the Viterbi decoder 10 has not yet converged, so that as long as the longer sequence of signals DTi is received, the correct original signals Sii can be decoded.

However, if the sequence of the signals DTi becomes much longer, the prior art Viterbi algorithm needs more memory space, meaning that the path memory module 21 should include more selector modules 22 for generating the convergent output signals DTo, so that the prior art Viterbi decoder 10 costs a lot of system resources for generating a reliable result, but the result delays some bits comparing to the original signal. For example, a path memory module of a Viterbi decoder of a prior art high-density digital-versatile-disc drive, or HD-DVD drive, should include twenty selector modules, but output signals of the Viterbi decoder of the HD-DVD drive delay three bits comparing to the original signals.

In summary, delays of the output signals and demands of the selector modules cause the prior art Viterbi decoder to be unable to increase efficiency and to waste system resources.

SUMMARY OF THE INVENTION

It is therefore a primary objective of the claimed invention to provide a method for simplifying a Viterbi decoder.

According to the claimed invention, a method for simplifying a Viterbi decoder includes: receiving a partial response, and determining an amount of redundant selector modules according to a tap number of the partial response; analyzing an output signal of the redundant selector modules for determining an initial input signal; and taking Viterbi decoding process to a sequence of data in the Viterbi decoder according to a forward trace status and the initial input signal.

These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a block diagram of a prior art Viterbi decoder.

FIG. 2 illustrates a state diagram of Viterbi algorithm with four states S00, S01, S10, and S11.

FIG. 3 illustrates a schematic diagram of a path memory module corresponding to a state diagram in FIG. 2.

FIG. 4 illustrates a table of received and decoded signals of a prior art Viterbi decoder having four states.

FIG. 5 illustrates a flowchart of a process in accordance with the present invention.

FIG. 6 illustrates a forward trace status diagram of a Viterbi decoder having four states in accordance with the present invention when receiving the first bit of signals in FIG. 4.

FIG. 7 illustrates a schematic diagram of output signals of a four-state Viterbi decoder in accordance with the present invention.

FIG. 8 illustrates a schematic diagram of a path memory module of a Viterbi decoder of an HD-DVD drive Viterbi decoder in accordance with the present invention.

FIG. 9 illustrates a schematic diagram of output signals of first-stage to third-stage selector modules of a prior art Viterbi decoder in an HD-DVD Drive.

DETAILED DESCRIPTION

In order to improve delays of output signals and demands of selector modules of a prior art Viterbi decoder, the present invention decodes received signals of a Viterbi decoder based on states of the Viterbi decoder. Please refer to FIG. 5, which illustrates a flowchart of a process 50 in accordance with the present invention. The process 50 includes following steps:

Step 500: start.

Step 502: receiving a partial response, and determining an amount Nrs of redundant selector modules according to a tap number of the partial response.

Step 504: analyzing an output signal of the redundant selector modules for determining an initial input signal.

Step 506: determining a high-efficiency Viterbi decoder according to the amount Nrs of the redundant selector modules and the initial input signal, and taking Viterbi decoding process to a sequence of data received in the Viterbi decoder according to a forward trace status of the high-efficiency Viterbi decoder and the initial input signals.

Step 508: finish.

Referring to following paragraph, describing that the present invention process 50 improves decoding efficiency of a prior art Viterbi decoder based on the viewpoint of states. Back to FIG. 3, owing to the partial response PR(1,2,1), the output signal of the first-stage selector module 2201 of the path memory module 18 is (0,0,1,1).

Therefore, as long as the Viterbi decoder having four states takes (0,0,1,1) as the initial input signal of the second-stage selector module 2202 of the path memory module 18, the path memory module 18 can be simplified (that is, the first-stage selector module 2201 of the path memory module 18 can be removed). In FIG. 3, the partial response is PR(1,2,1), so according to step 502, after receiving the partial response PR(1,2,1), an amount Nrs of redundant selector modules can be determined based on a tap number Tap (in this embodiment, the tap number Tap=3) of the partial response, where the amount Nrs of redundant selector modules is calculated by rules as following: Nrs=Tap−k 2≦k<Tap

-   -   where k is an integer. Therefore, in this embodiment, k=2 for         Tap=3, and the amount Nrs=1 (meaning that the first-stage         selector module 2201 of the path memory module 18 can be         removed). As a result, a high-efficiency Viterbi decoder can be         provided, which removes the first-stage selector module 2201 of         the path memory module 18.

In addition, the initial input signal of the high-efficiency Viterbi decoder can be determined by analyzing an output signal of the redundant selector module. For example, in this embodiment, the amount Nrs=1, and the output signal of the first-stage selector module 2201 of the path memory module 18 is (0,0,1,1), so (0,0,1,1) is taken as the initial input signal of the high-efficiency Viterbi decoder. Because the initial input signal is determined, the four registers 24 in the first-stage selector module 2202 of the high-efficiency Viterbi decoder, which is the second-stage selector module of the original Viterbi decoder, can be removed.

According to the amount Nrs of the redundant selector modules and the initial input signal, the high-efficiency Viterbi decoder can be determined, and a sequence of data can be decoded with a forward trace status of the high-efficiency Viterbi decoder.

Furthermore, please refer to FIG. 6, which illustrates a forward trace status diagram of a Viterbi decoder having four states in accordance with the present invention process 50 when receiving the first bit of the signals DTi. As shown in FIG. 6, when decoding based on the states of the Viterbi decoder, the output signal corresponding to the first bit 2 of the signals DTi is 01. By the same token, please refer to FIG. 7, which illustrates a schematic diagram of output signals DTo of the four-state Viterbi decoder in accordance with the present invention process 50 by decoding the received signals DTi in FIG. 4. As shown in FIG. 7, the first two bits of the original signals can be decoded and included in the output signals DTo.

As to a Viterbi decoder of a prior art HD-DVD drive, the Viterbi decoder should include 20 selector modules for outputting reliable output signals, but the first three bits of the original signals still cannot be decoded. Please refer to FIG. 8, which illustrates a schematic diagram of the path memory module 80 of a Viterbi decoder of an HD-DVD drive Viterbi decoder in accordance with the present invention process 50, where the partial response is PR(1,2,2,2,1). According to step 502, after receiving the partial response PR(1,2,2,2,1), an amount Nrs of redundant selector modules can be calculated based on a tap number Tap (in this embodiment, Tap=5) of the partial response. As mentioned above, the rule for calculating the amount Nrs are as following: Nrs=Tap−k 2≦k<Tap

-   -   where k is an integer. Therefore, with Tap=5 and k=2, the amount         Nrs equals 3 for removing three selector modules, with Tap=5 and         k=3, the amount Nrs equals 2 for removing two selector modules,         and so on.

As shown in FIG. 8, the path memory module 80 includes 17 selector modules 82 for receiving select signals Sf0˜Sf5 provided by the add-compare-select unit of the Viterbi decoder, so as to determine output signals. Please refer to FIG. 9, because the output signal of the third-stage selector module of the Viterbi decoder of the prior art HD-DVD Drive is (0,0,0,0,0,1,1,1,1,1), the initial input signal of the first-stage selector module 82 of the path memory module 80 in FIG. 8 can be (0,0,0,0,0,1,1,1,1,1), and the amount of the selector modules 82 can be reduced to 17. In addition, ten registers (not illustrated) of the first-stage selector module 82 of the path memory module 80 can be removed after the initial input signal is determined. By the same token, the first three bits of the original signal can be decoded by the Viterbi decoder of the HD-DVD Drive in accordance with the present invention process 50.

Therefore, in comparison with the prior art, the present invention process 50 provides a method for simplifying the Viterbi decoder. In short, the process 50 can reduce the selector modules of the path memory module in the Viterbi decoder, and prevent delays of output signals, which increases decoding efficiency of the Viterbi decoder and decreases system resources.

Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims. 

1. A method for simplifying a Viterbi decoder, comprising: receiving a partial response, and determining an amount of redundant selector modules according to a tap number of the partial response; analyzing an output signal of the redundant selector modules for determining an initial input signal; and taking Viterbi decoding process to a sequence of data in the Viterbi decoder according to a forward trace status and the initial input signal.
 2. The method of claim 1, wherein the amount of the redundant selector modules equals the value of subtracting a specific value from the tap number of the partial response.
 3. The method of claim 2, wherein the specific value is greater than or equals to 2, but no more than the value of subtracting 1 from the tap number of the partial response.
 4. The method of claim 1, wherein the initial input signal is the output signal of the redundant selector modules.
 5. The method of claim 1, wherein the Viterbi decoder is set in a high-density digital-versatile-disc (HD-DVD) drive for taking Viterbi decoding process to the sequence of data.
 6. The method of claim 5, wherein a path memory module of the Viterbi decoder comprises 17 selector modules.
 7. The method of claim 5, wherein the initial input signal of the first-stage selector module of the path memory module in the Viterbi decoder is (0,0,0,0,0,1,1,1,1,1).
 8. A method for simplifying a Viterbi decoder, comprising: determining an amount of redundant selector modules (Nrs) according to a tap number of a partial response (Tap); analyzing an output signal of the redundant selector modules for determining an initial input signal; and taking Viterbi decoding process to a sequence of data in the Viterbi decoder according to a forward trace status and the initial input signal.
 9. The method of claim 8, wherein the amount of redundant selector modules (Nrs) is determined by the following: Nrs=Tap−k 2≦k<Tap where k is an integer, Nrs is the amount of redundant selector modules and Tap is the tap number of the partial response.
 10. The method of claim 8, wherein the initial input signal is the output signal of the redundant selector modules.
 11. The method of claim 8, wherein the Viterbi decoder is set in a high-density digital-versatile-disc (HD-DVD) drive for taking Viterbi decoding process to the sequence of data.
 12. The method of claim 8, wherein the initial input signal of the first-stage selector module of the path memory module in the Viterbi decoder is (0,0,0,0,0,1,1,1,1,1).
 13. A simplified viterbi decoder, comprising: an add-compare-select unit for determining path metrics of a input signal; and a path memory module for receiving a plurality of state values calculated by the add-compare-select unit; wherein the path memory module includes a plurality of selector modules in a series connection, wherein an amount of the selector modules is determined by a tap number of a partial response and an initial input signal.
 14. The simplified viterbi decoder of claim 13, wherein an amount of redundant selector modules (Nrs) is determined by the following: Nrs=Tap−k 2≦k<Tap where k is an integer, Nrs is the amount of redundant selector modules and Tap is the tap number of the partial response.
 15. The simplified viterbi decoder of claim 13, wherein an amount of registers which are removed in a first-stage of the selector modules is determined by the initial input signal.
 16. The simplified viterbi decoder of claim 13, wherein the initial input signal is an output signal of the redundant selector modules.
 17. The simplified viterbi decoder of claim 15, wherein the initial input signal of the first-stage of the selector modules is (0,0,0,0,0,1,1,1,1,1).
 18. A simplified viterbi decoder in HD-DVD, comprising: an add-compare-select unit for determining path metrics of a input signal; and a path memory module for receiving a plurality of state values calculated by the add-compare-select unit; wherein the path memory module includes a plurality of selector modules in a series connection, wherein an initial input signal of a first-stage of the selector modules is (0,0,0,0,0,1,1,1,1,1).
 19. The simplified viterbi decoder of claim 18, wherein the path memory module includes at least 17 selector modules. 